Point to GtkGrid from the GtkBox and GtkTable docs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Oct 2010 17:59:29 +0000 (19:59 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Oct 2010 17:59:29 +0000 (19:59 +0200)
docs/reference/gtk/tmpl/gtktable.sgml
gtk/gtkbox.c

index a95a3199f64a6b8e68d06a69e760ff91e76e4404..22503eaa39995c9960f7131b47be2dc723bbe23f 100644 (file)
@@ -32,17 +32,22 @@ either side</emphasis> of the widget it belongs to.
 gtk_table_set_homogeneous(), can be used to set whether all cells in the
 table will resize themselves to the size of the largest widget in the table.
 </para>
+<para>
+Note that #GtkGrid provides the same capabilities as GtkTable for arranging
+widgets in a rectangular grid, and additionally supports height-for-width
+geometry management.
+</para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
 <variablelist>
 <varlistentry>
-<term>#GtkVBox</term>
-<listitem><para>For packing widgets vertically only.</para></listitem>
+<term>#GtkBox</term>
+<listitem><para>For packing widgets in a single row.</para></listitem>
 </varlistentry>
 <varlistentry>
-<term>#GtkHBox</term>
-<listitem><para>For packing widgets horizontally only.</para></listitem>
+<term>#GtkGrid</term>
+<listitem><para>For packing widgets in a grid with height-for-width geometry management.</para></listitem>
 </varlistentry>
 </variablelist>
 </para>
index 523b19a349c02e3f5b9da14fd6acba3bbf06684c..50e827de85137e9f3e1c7721af4216f8ee862516 100644 (file)
@@ -74,6 +74,9 @@
  * Use gtk_box_set_child_packing() to reset the #GtkBox:expand,
  * #GtkBox:fill and #GtkBox:padding child properties.
  * Use gtk_box_query_child_packing() to query these fields.
+ *
+ * Note that a single-row or single-column #GtkGrid provides exactly the
+ * same functionality as #GtkBox.
  */
 
 #include "config.h"